package com.isoft.filelistener.entity;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class DfmeAirlDflt {
    @JacksonXmlProperty(localName = "FLID")
    private String flightId;

    @JacksonXmlProperty(localName = "FIDE")
    private String flightIdentifity;

    @JacksonXmlProperty(localName = "FFID")
    private String flightDate;

    @JacksonXmlProperty(localName = "ARPT")
    @JacksonXmlElementWrapper(localName = "AIRL")
    private List<DfmeAirlApno> apnos;
}
